package com.ffcs.ffxtc.domain.dto;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;

/**
 * @author zhangzhengxing
 */
@Data
@ColumnWidth(15)
public class CategoryExcelDTO {

    @TableField("name")
    @ExcelProperty("名字")
    @ColumnWidth(30)
    private String name;

    @TableField("path")
    @ExcelProperty("路径")
    private String path;

    public String getPath() {
        System.out.println("结果" + this.name);
        return "自定义参数值";
    }
}
